html {
    font-family: sans-serif, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 20px;
}

html, body, header, section, footer, div, ul, ol, li, img, a, span, em, del, legend, center, strong, var, fieldset, form, label, dl, dt, dd, cite, input, hr, time, mark, code, figcaption, figure, textarea, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    border: 0;
    padding: 0;
    font-style: normal;
}

body {
    line-height: 1.5;
    font-size: 0.8rem;
    color: #212121;
    outline: 0;
}

ul, li {
    list-style: none;
}

textarea {
    overflow: hidden;
    resize: none;
}

.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}


/*toast*/

.wr-toast {
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
    border-radius: 0.1rem;
    color: #ffffff;
    position: fixed;
    z-index: 999999;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    width: 1.8rem;
    height: 2.2rem;
    padding: 0.16rem;
    display: none;
}

.wr-toast .iconfont {
    display: block;
    font-size: 1rem;
}

.wr-toast-content {
    font-size: 0.28rem;
}

.wr-toast-loading {
    border-radius: 100%;
    margin: 0.2rem 0;
    margin-bottom: .12rem;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    height: .9rem;
    width: .9rem;
    background: transparent;
    display: inline-block;
    -webkit-animation: rotate 1s 0s linear infinite;
    animation: rotate 1s 0s linear infinite;
}


/*dialog加载中那一套*/

.wr-dialog {
    width: 5.4rem;
    text-align: center;
    position: fixed;
    z-index: 999;
    left: 50%;
    margin-left: -2.7rem;
    margin-top: 0;
    top: 45%;
    border-radius: 0.12rem;
    opacity: 0;
    background-color: #ffffff;
    -webkit-transform: translate3d(0, 0, 0) scale(1.2);
    transform: translate3d(0, 0, 0) scale(1.2);
    -webkit-transition-property: -webkit-transform, opacity;
    transition-property: transform, opacity;
    /*display: none;*/
}

.wr-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    z-index: 99;
    visibility: hidden;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity .3s, transform .3s;
}

.wr-mask.wr-mask-out {
    opacity: 0;
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg) scale(1);
        transform: rotate(0deg) scale(1);
    }
    50% {
        -webkit-transform: rotate(180deg) scale(1);
        transform: rotate(180deg) scale(1);
    }
    100% {
        -webkit-transform: rotate(360deg) scale(1);
        transform: rotate(360deg) scale(1);
    }
}

@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg) scale(1);
        transform: rotate(0deg) scale(1);
    }
    50% {
        -webkit-transform: rotate(180deg) scale(1);
        transform: rotate(180deg) scale(1);
    }
    100% {
        -webkit-transform: rotate(360deg) scale(1);
        transform: rotate(360deg) scale(1);
    }
}

.lastinfo {
    width: 100%;
    height: 1.2rem;
    line-height: 1.2rem;
    color: #999;
    text-align: center;
}

.zero {
    width: 100%;
    height: 1.2rem;
    text-align: center;
    line-height: 1.2rem;
    font-size: .4rem;
    color: #333;
}

.poptext {
    position: absolute;
    top: 0;
    z-index: 2;
    width: 100%;
    height:.6rem;
    color: #FF6391;
    font-size: .28rem;
    text-align: center;
    background: #fdc8bc;
    line-height: .6rem;
    animation: poptextmove 0.8s 0.5s ease-in 1;
    -webkit-animation: poptextmove 0.8s 0.5s ease-in 1;
    /* Safari 和 Chrome */
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

@keyframes poptextmove {
    0% {
        top: 0;
    }
    100% {
        top: -2rem;
    }
}

.btn-press {
    background-color: rgba(0, 0, 0, 0.1) !important;
}

.iconpic {
    display: inline-block;
    margin-left: .06rem;
    width: .36rem;
    height: .36rem;
    background-image: url(../../image/coin.png);
    background-position: center;
    background-size: cover;
    transform: translateY(0.06rem);
    -webkit-transform: translateY(0.06rem);
}

.hidden {
    display: none;
}

.bottom-text {
    width: 100%;
    padding: 0;
    margin: .52rem auto;
    text-align: center;
    color: #999;
    font-size: .3rem;
}

.nodata {
    display: none;
    margin: .8rem auto;
    text-align: center;
    color: #888;
    /*font-size: .9rem;*/
}

.show {
    display: block;
}
